﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="OutStorageList.aspx.cs" Inherits="Ewts.Storage.OutStorageList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab1">
	<h2>出库单查询</h2>
    <!--一个表单-->
<br />
   处理地：
    <asp:DropDownList ID="dropGraphic" runat="server"   CssClass="dropGraphic"  >
    </asp:DropDownList>
<div class="shadow">

   
 
    <table id="tbColl" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
            <th>序号</th>
            <th>出库单号</th>
            <th>虚拟Load号</th>
            <th>归属地</th>
            <th>处理地</th>
            <th>出库单总重量</th>
            <th>出库类型</th>
            <th>出库单状态</th>
            <th>操作</th>
          
        </tr>
 
      </thead>
 
      </table>
 

 
<%--
 
    <tr>
 
      <td><%# Eval("outStorageNo")%></td>
        <td><%# Eval("VLoadNum")%></td>
      <td><%# Eval("totalWeight")%></td>
 
      <td><%# SetOutType(Eval("outStorageType").ToString())%></td>
       <td><%# SetStatus(Eval("status").ToString())%></td>
 
      <td>  <a href="/RDLC/OutStorageRDLC.aspx?outStorID=<%# Eval("id") %>">报表打印</a> </td>
      <td><%# GetUpdateOper(Eval("id").ToString(), Eval("status").ToString())%> </td>
 
    </tr>
 
  </ItemTemplate>--%>

</div>
    <script type="text/javascript">

        $(document).ready(function () {
            var mtable = $('#tbColl').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 25,
                "bDestory": true,
                "columns": [
                    { "data": "rownum" },
                    { "data": "outStorageNo" },
                    { "data": "VLoadNum" },
                    { "data": "bcity" },
                    { "data": "gcity" },
                    { "data": "totalWeight" },
                    { "data": "outStorageType" },
                     { "data": "status" },
                     { "data": "operatorurl" }
            ],
                "sAjaxSource": "/ashx/pageJuqery.ashx?pagetype=os&city=" + encodeURI($(".dropGraphic").val()),
                "bServerSide": true
            });
            $('.dropGraphic').change(function () {

                mtable.fnReloadAjax("/ashx/pageJuqery.ashx?pagetype=os&city=" + encodeURI($(".dropGraphic").val()));
            });
        });
 
</script>
  
</div>
</asp:Content>
